package net.kucoe.macarun;

/**
 * Running when case is true.
 * 
 * @author Vitaliy Basyuk
 * @param <T> parameter type
 * @param <R> return type
 */
public interface Run<T, R> {
    
    /**
     * Running method
     * 
     * @param object
     * @return result
     */
    R run(T object);
}
